<template>
  <div class="login-account">
    <el-form :model="account" label-width="70px">
      <el-form-item label="手机：">
        <el-input v-model="account.name" />
      </el-form-item>
      <el-form-item label="验证码：">
        <div class="phone-contral">
          <el-input v-model="account.password" />
          <el-button type="primary">获取验证码</el-button>
        </div>
      </el-form-item>
    </el-form>
  </div>
</template>

<script lang='ts'>
import { defineComponent, reactive } from "vue";

export default defineComponent({
  setup() {
    const account = reactive({
      name: "",
      password: "",
    });

    return {
      account,
    };
  },
});
</script>

<style scoped lang='less'>
.login-panel {
	.phone-contral {
		width: 100%;
		display: flex;
		justify-content: space-between;
		.el-input {
			width: 100px;
		}
	}
}
</style>